<template>
	<view class='ranking'>
		<view class='head'>
			<uni-icon type="back" color='#F64241' size='30' class='icon' @tap='back'></uni-icon>
			<text class='text' @tap='back'>排行榜</text>
		</view>
		<view class='ad'>
			<image  src="../../static/rankad1.png" mode=""></image>
			<image  src="../../static/rankad2.png" mode=""></image>
		</view>
	</view>
</template>

<script>
	import { uniIcon } from "@dcloudio/uni-ui";
	export default {
		data() {
			return {
				
			}
		},
		components:{
			uniIcon
		},
		methods: {
			back(){
				uni.navigateBack()
			}
		}
	}
</script>

<style lang='scss' scoped> 
.ranking{
		width: 100%;
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
		position: relative;
		.head{
			width: 100%;
			height: 65px;
			position: fixed;
			top: 0;
			left: 0;
			background:#fff;
			display: flex;
			justify-content: flex-start;
			align-items: flex-end;
			padding-bottom:15px;
			z-index: 99;
			.icon{
				margin: 0 10px;
			}
			.text{
				font-size: 18px;
				color:#F64241;
				display: inline-block;
				height: 30px;
				line-height: 30px;
			}
		}
		.ad{
			width: 100%;
			display: flex;
			height: 100px;
			margin-top:67px;
			justify-content: space-around;
			image{
				width: 48%;
				height: 100%;
				border-radius: 10px;
			}
		}
	}
</style>
